﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ViewExample
{
    public partial class ViewClipAndSaveExampleForm : Form
    {
        public ViewClipAndSaveExampleForm()
        {
            InitializeComponent();
        }

        private void btn_CreateObject_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.CreateObject();
        }
        private void btn_ClipViewByObject_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.ClipViewByObject();
        }

        private void btn_ClipViewByVolume_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.ClipViewByVolume();
        }

        private void btn_ClearClipViewVolume_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.ClearClipViewVolume();
        }

        private void btn_ClearClipView_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.ClearClipView();
        }

        private void btn_SaveViewByView_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.SaveViewByView();
        }

        private void btn_SaveViewByRange_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.SaveViewByRange();
        }

        private void btn_AttachSavedView_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.AttachSavedView();
        }

        private void btn_DeleteSavedView_Click(object sender, EventArgs e)
        {
            ViewClipAndSaveExample.DeleteSavedView();
        }
    }
}
